package com.example.seey2023.entity;

//注意命名，原称2019-nCoV

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("nocv_data")
public class NcovData {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer value;
    //private Date updateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
}
